package com.zhiche.lisa.bms.dao.mapper.charge;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zhiche.lisa.bms.dao.model.charge.ChargeOffRule;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 出账规则 Mapper 接口
 * </p>
 *
 * @author liuanshun
 * @since 2018-11-02
 */
public interface ChargeOffRuleMapper extends BaseMapper<ChargeOffRule> {

	/**
	 * 根据条件判断是否存在的规则
	 *
	 * @param condition
	 * @return
	 */
	Integer checkExistRule(@Param("condition") Map<String, Object> condition);
}
